package org.song.model.dto;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.*;
import org.apache.ibatis.type.Alias;
import org.song.model.dto.common.BaseSearchDto;

import java.util.Date;


@ApiModel("评论实体")
@AllArgsConstructor
@NoArgsConstructor
@Data
@Builder
@Alias(value = "CommentDto")
public class CommentDto extends BaseSearchDto {

    @ApiModelProperty(value = "评论Id" , notes = "评论Id")
    private Long id;

    @ApiModelProperty(value = "uid" , notes = "uid")
    private Long creatorId;

    @ApiModelProperty(value = "评论内容" , notes = "评论内容")
    private Long content;

    @ApiModelProperty(value = "评论时间" , notes = "评论时间")
    private Date createTime;

    @ApiModelProperty(value = "评论博客Id" , notes = "评论博客Id")
    private Long blogId;

    @ApiModelProperty(value = "评论父Id" , notes = "评论父Id")
    private Long parentCommentId;

}
